package Model;

/** This class is used to describe any building. All building types should extend this class */
public class Building 
{
	// ATTRIBUTE
	private int id;
	private State state;
	private int capacity;
	private Location location;
	private Resource resource;
	// CONSTRUCTOR
	public Building(Location location) {
            this.location = location;
        }
	// OWN FUNCTIONS
	
	// GETTER - SETTER
	
	public int getId() 
	{
		return id;
	}
	
	public void setId(int id) 
	{
		this.id = id;
	}
	
	public State getState() 
	{
		return state;
	}
	
	public void setState(State state) 
	{
		this.state = state;
	}
	
	public int getCapacity() 
	{
		return capacity;
	}
	
	public void setCapacity(int capacity) 
	{
		this.capacity = capacity;
	}
	
	public Location getLocation() 
	{
		return location;
	}
	
	public void setLocation(Location location) 
	{
		this.location = location;
	}
	
	public Resource getResource() 
	{
		return resource;
	}
	
	public void setResource(Resource resource) 
	{
		this.resource = resource;
	}

}
